<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="cn.ainit.sys.menu.SessionCont"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link>
		<link rel="stylesheet" href="../printCss/print.css" type="text/css"></link>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/perlize.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/save.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/model/js/initPage.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/sysReport/report.js"></script>

		<script type="text/javascript">
			$(function() {
				$("#dotted :last ").remove()
			});
		</script>
		<style type="text/css">
		table{border-collapse:collapse;
			}
		</style>
		<script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    }
     </script> 
	</head>
	<body>
<table cellpadding="0px" cellspacing="0px" width="730px" border="1">
                        <tr>
                            <th colspan="40" style="font-size: 22px">${Company.COM_PRINTNAME}付款单</th>
                        </tr>
                       <tr>
                        <td><strong>申请人:</strong></td>
                        <td colspan="2" ><strong>&nbsp;${data.INPUT_NAME }</strong></td>
                        <td><strong>申请部门:</strong></td>
                        <td><strong>&nbsp;${data.BUMEN }</strong></td>     
                        <td><strong>付款单号:</strong></td>
                        <td colspan="3" ><strong>${data.DJ_CODE}&nbsp;</strong></td>
                       </tr>
                       <tr>
                        
                        <td><strong>申请日期:</strong></td>
                        <td colspan="2" ><strong>${data.INPUT_DATE }&nbsp;</strong></td> 
                        
                        <td><strong>付款单位:</strong></td>
                        <td colspan="5" ><strong>${Company.COM_PRINTNAME}&nbsp;</strong></td> 
                       </tr>
                       <tr>            
                        <td><strong>金额:</strong></td>
                        <td colspan="2" ><strong>${data.TOTAL_MONEY }&nbsp;</strong></td>
                        <td><strong>金额大写:</strong></td>
                        <td colspan="5"><strong>${data.DAXIE}&nbsp;</strong></td>     
                       </tr>
  
                       <tr>
                        <td colspan="2"><strong>收款单位:</strong></td>
                        <td colspan="3" ><strong>${data.MAN_NAME}&nbsp;</strong></td>
                        <td><strong>付款</strong></td>
                        <td><strong>1.支票</strong></td> 
                        <td><strong>3.贷记</strong></td> 
                        <td><strong>5.汇票</strong></td> 
                       </tr>    
                       <tr> 
                        <td colspan="2"><strong>收款银行账号:</strong></td>
                        <td colspan="3"><strong>${data.BANK_NO}&nbsp;</strong></td>   
                        <td><strong>方式</strong></td> 
                        <td><strong>2.本票</strong></td> 
                        <td><strong>4.电汇</strong></td> 
                        <td><strong>6.其他</strong></td>  
                       </tr>     
                       <tr>
                        <td colspan="2"><strong>收款单位开户行:</strong></td>
                        <td colspan="7" ><strong>${data.BANK_NAME}&nbsp;</strong></td>   
                       </tr>         
                       <tr>
                        <td><strong>付款单备注:</strong></td>
                        <td colspan="8" ><strong>${data.MEMO}&nbsp;<br/>&nbsp;</strong></td>    
                       </tr>      
                       <tr>
                       <td><strong>序号:</strong></td>
                       <td colspan="2"><strong>应付费用单号:</strong></td>
                       <td><strong>应付款:</strong></td>
                       <td><strong>已付款:</strong></td>
                       <td><strong>本次付款:</strong></td>
                       <td><strong>部门:</strong></td>
                       <td><strong>录入人:</strong></td>
                       <td><strong>备注:</strong></td>
                
                          <c:forEach items="${dataList}" var="temp" varStatus="status">
                                <tr >
                                    <td>${ status.index + 1}</td>
                                    <td  colspan="2">${temp.DJ_CODE}</td>
                                    <td>￥0.00</td>
                                    <td>￥0.00</td>
                                    <td>￥0.00</td>
                                    <td>${temp.BUMEN}</td>
                                    <td>${temp.INPUT_MAN}</td>
                                    <td>${temp.MEMO}</td>
                             
                                        
                                </tr>
         
                        </c:forEach>
                       <tr>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                        <td><strong>&nbsp;</strong></td>
                       </tr> 
                       </table>
                       <table cellpadding="0px" cellspacing="0px" width="730px" border="0">
                       <tr>
                        <td><strong>申请人:</strong></td>
                        <td><strong>&nbsp;</strong></td>  
                        <td colspan="2"><strong>分管主管/项目负责人:</strong></td>
                        <td><strong>&nbsp;</strong></td>  
                        <td><strong>财务经理:</strong></td>
                        <td><strong>&nbsp;</strong></td>  
                        <td><strong>总裁签批:</strong></td>
                        <td><strong>&nbsp;</strong></td>  
                       </tr>  
                        
                        
                     
        				<tr height="40">
                            <td colspan="13" align="right">
                                <span style="font-size: 11px ;color: #9BA4AF">技术支持:</span>
                                <span style="font-size: 12px ;color: #9BA4AF">上海爱你特科技  www.ainit.cn</span>			
                            </td>
                        </tr>
                 </table>
    </body>
</html>